import {Zero3Enum} from './zero3-enum';

export class Zero3Option {

    public static CON_VERSION_APP_STORE_UP = Array.from(Zero3Enum.CON_VERSION_APP_STORE_UP.entries())
        .map((value: [string, string], index: number, array: [string, string][]) => {
            return {id: value[0], name: value[1]};
        });
    public static CON_ZONE_TYPE_APP_VERSION = Array.from(Zero3Enum.CON_ZONE_TYPE_APP_VERSION.entries())
        .map((value: [string, string], index: number, array: [string, string][]) => {
            return {id: value[0], name: value[1]};
        });
    public static CON_VERSION_ANDROID_CHANNEL_TYPE = Array.from(Zero3Enum.CON_VERSION_ANDROID_CHANNEL_TYPE.entries())
        .map((value: [string, string], index: number, array: [string, string][]) => {
            return {id: value[0], name: value[1]};
        });
    public static CON_ZONE_TYPE_POSITION = Array.from(Zero3Enum.CON_ZONE_TYPE_POSITION.entries())
        .map((value: [string, string], index: number, array: [string, string][]) => {
            return {id: value[0], name: value[1]};
        });
    public static GOODS_TYPE_LEVEL_POSITION = Array.from(Zero3Enum.GOODS_TYPE_LEVEL_POSITION.entries())
        .map((value: [string, string], index: number, array: [string, string][]) => {
            return {id: value[0], name: value[1]};
        });
    public static CON_ZONE_MANAGE_RELEVANCE_TYPE = Array.from(Zero3Enum.CON_ZONE_MANAGE_RELEVANCE_TYPE.entries())
        .map((value: [string, string], index: number, array: [string, string][]) => {
            return {id: value[0], name: value[1]};
        });
    public static GOODS_TYPE = Array.from(Zero3Enum.GOODS_TYPE.entries())
        .map((value: [string, string], index: number, array: [string, string][]) => {
            return {id: value[0], name: value[1]};
        });
    public static VALID_FLAG = Array.from(Zero3Enum.VALID_FLAG.entries())
        .map((value: [string, string], index: number, array: [string, string][]) => {
            return {id: value[0], name: value[1]};
        });
    public static SER_ORDER_STATUS = Array.from(Zero3Enum.ORDER_STATUS_FLAG.entries())
        .map((value: [number, string], index: number, array: [number, string][]) => {
            return {id: value[0], name: value[1]};
        });

    public static AUDIT_FLAG = Array.from(Zero3Enum.AUDIT_FLAG.entries())
        .map((value: [string, string], index: number, array: [string, string][]) => {
            return {id: value[0], name: value[1]};
        });

    public static STOCK_OUT_STATUS = Array.from(Zero3Enum.WMS_STOCK_OUT_STATUS.entries())
        .map((value: [string, string], index: number, array: [string, string][]) => {
            return {id: value[0], name: value[1]};
        });

    public static STOCK_OUT_DOCUMENTTYPE = Array.from(Zero3Enum.WMS_STOCK_OUT_DOCUMENTTYPE.entries())
        .map((value: [string, string], index: number, array: [string, string][]) => {
            return {id: value[0], name: value[1]};
        });

    public static STOCK_OUT_WAREHOUSE = Array.from(Zero3Enum.WMS_STOCK_OUT_WAREHOUSE.entries())
        .map((value: [string, string], index: number, array: [string, string][]) => {
            return {id: value[0], name: value[1]};
        });

    public static USING_FLAG = Array.from(Zero3Enum.USING_FLAG.entries())
        .map((value: [string, string], index: number, array: [string, string][]) => {
            return {id: value[0], name: value[1]};
        });
    public static SER_AUDIT = Array.from(Zero3Enum.SER_AUDIT.entries())
        .map((value: [string, string], index: number, array: [string, string][]) => {
            return {id: value[0], name: value[1]};
        });

    public static BUSINESS_TYPE = Array.from(Zero3Enum.BUSINESS_TYPE.entries())
        .map((value: [string, string], index: number, array: [string, string][]) => {
            return {id: value[0], name: value[1]};
        });
    public static ORDER_TYPE_FLAG = Array.from(Zero3Enum.ORDER_TYPE_FLAG.entries())
        .map((value: [string, string], index: number, array: [string, string][]) => {
            return {id: value[0], name: value[1]};
        });
    public static AFTER_APPLY_STATUS_FLAG = Array.from(Zero3Enum.AFTER_APPLY_STATUS_FLAG.entries())
        .map((value: [string, string], index: number, array: [string, string][]) => {
            return {id: value[0], name: value[1]};
        });
    public static OPERATING_SYSTEM = Array.from(Zero3Enum.OPERATING_SYSTEM.entries())
        .map((value: [string, string], index: number, array: [string, string][]) => {
            return {id: value[0], name: value[1]};
        });
}
